package cn.jtcoding.user.mapper;


import cn.jtcoding.user.pojo.dataobject.UsersDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UsersMapper {

    boolean verifyUsernameIsExists(String username);

    int addUser(UsersDO users);

    UsersDO getUser(@Param("username") String username, @Param("password") String password);
}